package ArrayList;

import java.util.ArrayList;

/**
 * @Author: dch
 * @Date: 2020/6/8 21:53
 * @Description: 自定义MyArrayList版本一
 */
public class MyArrayList<E> extends ArrayList<E> {
    public static void main(String[] args) {
        //创建对象
        MyArrayList myArrayList = new MyArrayList();
        //添加元素
        myArrayList.add("tutu");
        System.out.println(myArrayList);
    }
}
